SG Window Globals Object
Sleep Method

©1998 by Stinga

Properties     Methods     Events     Constants     Error Codes
Description

Suspends execution of the running thread for the specified number of milliseconds.

Syntax

object.Sleep(milliseconds As Long, Optional doEvents as Boolean)

Part Description
object The object is expression that evaluates to the Globals object.
milliseconds Required. Number of milliseconds to wait. Values equal to or less than zero are not valid.
doEvents Optional. If True events are dispetched during sleep time. Default value is False.